package com.jsbj.user.entities;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 首页配置表
 * </p>
 *
 * @author jsbj
 * @since 2022-07-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="SysHomepageBase对象", description="首页配置表")
public class SysHomepageBase implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    @ApiModelProperty(value = "卡片名称")
    private String componentCode;

    @ApiModelProperty(value = "卡片唯一标识id")
    private String componentId;

    @ApiModelProperty(value = "卡片标题")
    private String title;

    @ApiModelProperty(value = "横坐标")
    private Integer x;

    @ApiModelProperty(value = "纵坐标")
    private Integer y;

    @ApiModelProperty(value = "宽度")
    private Integer width;

    @ApiModelProperty(value = "高度")
    private Integer height;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "类型（1集团首页 2项目首页 3子系统首页）")
    private Integer type;

    @ApiModelProperty(value = "是否静态 true  false")
    private Boolean isStatic;

    @ApiModelProperty(value = "子系统编码")
    private String systemCode;

    @ApiModelProperty(value = "子系统名称")
    private String systemName;

    @ApiModelProperty(value = "是否可用  0可用 1不可用")
    private Integer disabled;

    @ApiModelProperty(value = "创建人用户ID")
    private String createrId;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "最后变更人用户ID")
    private String updateId;

    @ApiModelProperty(value = "最后变更时间")
    private Date updateTime;

    @ApiModelProperty(value = "备注")
    private String remark;


}
